package com.addplus.townmall.server.api.model.town.expand;

import com.addplus.townmall.server.api.model.town.Member;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 类名: MemberInformationExpand
 *
 * @author zhangjiehang
 * @version V1.0
 * @date 2018/9/17 下午9:35
 * @description 类描述: 个人中心用户信息实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class MemberInformationExpand extends Member {
    /**
     * 当前积分数量
     */
    @TableField("integral_now")
    private Integer integralNow;
    /**
     * 分销账号余额
     */
    private BigDecimal balance;

    /**
     * 优惠券数量
     */
    @TableField("coupon_count")
    private Integer couponCount;
    /**
     * 礼品卡数量
     */
    @TableField("gift_card_count")
    private Integer giftCardCount;
    /**
     * 被邀请人主键id
     */
    @TableField("invite_member_id")
    private Integer inviteMemberId;
    /**
     * 推荐人名称
     */
    @TableField("invite_member_nick_name")
    private String inviteMemberNickName;


    private Integer orderCount;

}
